<?php include('header.php');
	error_reporting(0);
	$error=$_GET['error'];?>
<body style="background-color: #CCCCCC">
<div class="container">
	<div class="row-fluid">
		<div class="span8 offset2">
			<ul class="nav nav-pills span10 offset1">
				<li class="span2"><a class="btn" href="create.php">Create Person</a></li>
				<li class="span2 offset1"><a class="btn" href="update.php">Update Person</a></li>
				<li class="span2 offset1"><a class="btn" href="delete.php">Remove Person</a></li>
				<li class="span2 offset1"><a class="btn" href="../index.html">Quit Persons</a></li>
			</ul>
		</div>
	</div>
	<?php if(isset($error)) { ?>
		<p style="color:red;font-weight:700;">
			<?php echo $error;?>
		</p><?php
		} elseif (isset($status)) { ?>
		<p><?php echo $status; ?></p><?php
	}?>
	<div class="row">
		<div class="span12">
			<h2>Persons</h2>
			<?php include('init.php');?>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6 offset3">
			<img class="img-polaroid" src="../img/tblPersons.png" />
		</div>
	</div>
</div>
</body>
</html>
